package com.springboot.frame.oauth.server.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author liheng
 * @since 2020-08-28
 */
@TableName("sys_user_role")
public class SysUserRole implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 角色id
     */
      @TableId("rid")
    private Integer rid;

    /**
     * 用户id
     */
    @TableField("uid")
    private Integer uid;


    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "SysUserRole{" +
        "rid=" + rid +
        ", uid=" + uid +
        "}";
    }
}
